//老师的班级管理界面的TreePanel的Store
var testClassLeftTreeStore=Ext.create('classesLeftTreeStore',
		zuulUrl+ '/' + authServiceName + '/classes/leader/'+currentUserId,
		'title');

//主任的班级管理界面的TreePanel的Store
var testClassLeftTreeStoreForDirector=Ext.create('classesLeftTreeStore',
		zuulUrl+ '/' + authServiceName + '/classes/creater/'+currentUserId,
		'title');

//用于显示班级人员列表的grid的Store
var classesMemberGridStore=Ext.create('Ext.data.Store');

//用于显示组人员列表的grid的Store
var groupMemberGridStore=Ext.create('Ext.data.Store');

//用于显示学生成绩的grid
var classesGradeStore = Ext.create('Ext.data.Store', {
	proxy : {
		type : 'ajax',
		reader : {
			type : 'json'
		}
	},
	groupField : 'projectId'
});


//用于显示复制测试需求、计划、执行的审核记录的Grid的store
var testCopyCheckLogStore = Ext.create('Ext.data.Store', {
    proxy: {
        type: 'ajax',
        reader: {
            type: 'json'
        }
    }
});

//用于显示复制测试计划步骤的Grid的store
var testDesignStepCopyStore=Ext.create('Ext.data.Store');

//用于显示测试计划关联测试需求复制grid的store
var testDesignTestRequirmentCopyStore=Ext.create('Ext.data.Store');

//测试执行执行记录的store(用了RowWidGet)
var testRunlogRowWidGetStore = Ext.create('Ext.data.Store', {
	model:'testRunLog',
});

//测试执行执行记录对应的测试步骤的store(用了RowWidGet)
var testRunLogStepRowWidGetStore=Ext.create('Ext.data.Store', {
	model:'testRunLogStep',
});

//用于给添加组员选择班级成员的grid的Store
var chooseClassesMemberAddGroupGridStore = Ext.create('Ext.data.Store', {
    proxy: {
        type: 'ajax',
        reader: {
            type: 'json'
        }
    }
});

//用于给组员选择组内身份的Store
var groupMemberIsLeaderComboGridStore = Ext.create('Ext.data.Store', {
    data:[{
    	isLeaderNum:1,
    	isLeaderName:'组长',
    },{
    	isLeaderNum:0,
    	isLeaderName:'组员',
    }]
});

//用于显示班级负责人的选择Grid
var classesChooseClassesLeaderGridStore = Ext.create('Ext.data.Store', {
    proxy: {
        type: 'ajax',
        url:zuulUrl+ '/' + authServiceName + '/classes/allTeacher',
        reader: {
            type: 'json'
        }
    },
    sortable: true,//开启排序
    sorters: [{property: "hasClassesCount", direction: "DESC"}], //降序
});

//用于显示班级成员的选择Grid
var chooseClassesMemberAddGridStore = Ext.create('Ext.data.Store', {
    proxy: {
        type: 'ajax',
        url:zuulUrl+ '/' + authServiceName + '/classes/allStudent',
        reader: {
            type: 'json'
        }
    },
    sortable: true,//开启排序
    sorters: [{property: "hasClassesCount", direction: "DESC"}], //降序
});
